﻿namespace OmniKits.Windows.Interop
{
    partial class User32
    {
        public const int CREATEPROCESS_MANIFEST_RESOURCE_ID = 1;
        public const int ISOLATIONAWARE_MANIFEST_RESOURCE_ID = 2;
        public const int ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID = 3;
        public const int MINIMUM_RESERVED_MANIFEST_RESOURCE_ID = 1 /*inclusive*/;
        public const int MAXIMUM_RESERVED_MANIFEST_RESOURCE_ID = 16 /*inclusive*/;
    }
}

namespace OmniKits.Windows.Interop
{
    using System;
    using static User32;

    public static class ResourceID
    {
        public static readonly IntPtr CreateProcessManifestResourceID = (IntPtr)CREATEPROCESS_MANIFEST_RESOURCE_ID;
        public static readonly IntPtr IsolationAwareManifestResourceID = (IntPtr)ISOLATIONAWARE_MANIFEST_RESOURCE_ID;
        public static readonly IntPtr IsolationAwareNoStaticImportManifestResourceID = (IntPtr)ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID;
        public static readonly IntPtr MinimumReservedManifestResourceID = (IntPtr)MINIMUM_RESERVED_MANIFEST_RESOURCE_ID /*inclusive*/;
        public static readonly IntPtr MaximumReservedManifestResourceID = (IntPtr)MAXIMUM_RESERVED_MANIFEST_RESOURCE_ID /*inclusive*/;
    }
}